package com.ruoyi.system.api.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 服务管理对象 car_service_detail
 * 
 * @author ruoyi
 * @date 2024-09-10
 */
public class CarServiceDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private CarServiceDetail carServiceDetail;

    public CarServiceDetail getCarServiceDetail() {
        return carServiceDetail;
    }

    public void setCarServiceDetail(CarServiceDetail carServiceDetail) {
        this.carServiceDetail = carServiceDetail;
    }

    /** id */
    private Long detailId;

    /** 与商家表关联 */
    @Excel(name = "与商家表关联")
    private Long merchantId;

    /** 与分类表关联 */
    @Excel(name = "与分类表关联")
    private Long typeId;

    /** 服务编号 */
    @Excel(name = "服务编号")
    private String serNum;

    /** 服务项目 */
    @Excel(name = "服务项目")
    private String proName;

    /** 服务介绍 */
    @Excel(name = "服务介绍")
    private String introduce;

    /** 服务内容 */
    @Excel(name = "服务内容")
    private String detContent;

    /** 原价（元） */
    @Excel(name = "原价", readConverterExp = "元=")
    private BigDecimal oldPrice;

    /** 现价（元） */
    @Excel(name = "现价", readConverterExp = "元=")
    private BigDecimal newPrice;

    /** 删除状态 */
    @Excel(name = "删除状态")
    private Integer status;

    public void setDetailId(Long detailId) 
    {
        this.detailId = detailId;
    }

    public Long getDetailId() 
    {
        return detailId;
    }
    public void setMerchantId(Long merchantId) 
    {
        this.merchantId = merchantId;
    }

    public Long getMerchantId() 
    {
        return merchantId;
    }
    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }
    public void setSerNum(String serNum) 
    {
        this.serNum = serNum;
    }

    public String getSerNum() 
    {
        return serNum;
    }
    public void setProName(String proName) 
    {
        this.proName = proName;
    }

    public String getProName() 
    {
        return proName;
    }
    public void setIntroduce(String introduce) 
    {
        this.introduce = introduce;
    }

    public String getIntroduce() 
    {
        return introduce;
    }
    public void setDetContent(String detContent) 
    {
        this.detContent = detContent;
    }

    public String getDetContent() 
    {
        return detContent;
    }
    public void setOldPrice(BigDecimal oldPrice) 
    {
        this.oldPrice = oldPrice;
    }

    public BigDecimal getOldPrice() 
    {
        return oldPrice;
    }
    public void setNewPrice(BigDecimal newPrice) 
    {
        this.newPrice = newPrice;
    }

    public BigDecimal getNewPrice() 
    {
        return newPrice;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("detailId", getDetailId())
            .append("merchantId", getMerchantId())
            .append("typeId", getTypeId())
            .append("serNum", getSerNum())
            .append("proName", getProName())
            .append("introduce", getIntroduce())
            .append("detContent", getDetContent())
            .append("oldPrice", getOldPrice())
            .append("newPrice", getNewPrice())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
